package com.dhcc.servlet;

import com.dhcc.httpserver.Request;
import com.dhcc.httpserver.Response;
import com.dhcc.httpserver.Servlet;

public class RegisterServlet extends Servlet{

	@Override
	protected void doGet(Request request, Response response) throws Exception {
		
		
	}

	@Override
	protected void doPost(Request request, Response response) throws Exception {
		
		response.println("<html>");
		response.println("<head><title>用户注册</title></head>");
		response.println("<body>");
		response.println("欢迎:" + request.getParameter("uname"));
		
		response.println("</body>");
		response.println("</html>");
		
	}
}
